import request from "@/utils/request";

export default {
    // GET /admin/product/getCategory1
    getCategoryAllid(Category1Id,Category2Id,Category3Id){
        return request.get(`/admin/product/attrInfoList/${Category1Id}/${Category2Id}/${Category3Id}`)
    },
    //删除 DELETE /admin/product/deleteAttr/{attrId}
    getDeleteAttr(attrId){
        return request.delete(`/admin/product/deleteAttr/${attrId}`)
    },
    // 保存 POST /admin/product/saveAttrInfo
    getSaveAttrInfo(data){
        return request.post(`/admin/product/saveAttrInfo`,data)
    }
}